package com.mapfinal.server.layer;

import com.mapfinal.resource.DataStore;
import com.mapfinal.server.layer.model.MfDatastore;

public interface ServerDataStore {
 
	public Integer getDataStoreId();
	
	public ServerLayer getServerLayer(String name);
	
	/**
	 * 数据存储配置信息
	 * @return
	 */
	public MfDatastore getMfDatastore();
	
	/**
	 * 数据存储工具
	 * @return
	 */
	public DataStore getDataStore();
	
	public boolean start();
	
	public boolean stop();
	/**
	 * 状态
	 * @return
	 */
	public int status();
	
}
